package com.jeesite.modules.utils;

public class UrlUtils {

    public static String joinUrl(String url1, String url2) {
        String path = url1;
        if (!path.endsWith("/")) {
            path += "/";
        }
        if (url2.startsWith("/")) {
            return path + url2.substring(1);
        }
        return path + url2;
    }
}
